package com.echo.code.spring.springbootdemo.core;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/04/27
 */
@Configuration
public class CarConfig {

  @Bean
  public Car car() {
    Car car = Car.builder().carName("Audi").carPrice(2000.00).carColor("black").build();
    return car;
  }
}
